package com.zhkc.iess.model.controller;

import com.zhkc.wisdom.common.base.util.SecurityUtils;
import com.zhkc.wisdom.common.pojo.vo.ComboxVO;
import com.zhkc.wisdom.common.pojo.vo.ResultVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Tag(name = "TEST类", description = "TEST类描述")
@Slf4j
public class TestController {


    @Operation(summary = "测试", description = "测试方法")
    @GetMapping("/service01/test")
    public ResultVO<ComboxVO> getMark() {
        System.out.println("TestController获取当----------: " + SecurityUtils.getAccount());
//        throw new BusinessException(111,"1");
        return ResultVO.success("11111111111111111");
    }

}
